gl renderer: Trivial declaration reorder
authorTimm Bäder <mail@baedert.org>
Mon, 16 Dec 2019 06:13:37 +0000 (07:13 +0100)
committerTimm Bäder <mail@baedert.org>
Tue, 7 Jan 2020 16:27:16 +0000 (17:27 +0100)
gsk/gl/gskglrenderer.c

index b8d491062c47dc8af49bf25ff65c52a14c854686..8107a34dd6158bc216aaa2bfd3c378e07235244e 100644 (file)
@@ -628,10 +628,10 @@ render_text_node (GskGLRenderer   *self,
   const PangoFont *font = gsk_text_node_peek_font (node);
   const PangoGlyphInfo *glyphs = gsk_text_node_peek_glyphs (node);
   const float text_scale = ops_get_scale (builder);
-  guint num_glyphs = gsk_text_node_get_num_glyphs (node);
+  const graphene_point_t *offset = gsk_text_node_get_offset (node);
+  const guint num_glyphs = gsk_text_node_get_num_glyphs (node);
   int i;
   int x_position = 0;
-  const graphene_point_t *offset = gsk_text_node_get_offset (node);
   float x = offset->x + builder->dx;
   float y = offset->y + builder->dy;
   GlyphCacheKey lookup;